package com.ysucode.domain;

/**
 * 该类用于记录用户pk模块的用户信息
 */
public class PkUser {
    private Integer id;
    private Integer rankscore = 1200; //rank分数
    private Integer matchsum = 0; //总场次
    private Integer matchvictory = 0; //获胜场次

    public PkUser() {
    }

    public PkUser(Integer id, Integer rankscore, Integer matchsum, Integer matchvictory) {
        this.id = id;
        this.rankscore = rankscore;
        this.matchsum = matchsum;
        this.matchvictory = matchvictory;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRankscore() {
        return rankscore;
    }

    public void setRankscore(Integer rankscore) {
        this.rankscore = rankscore;
    }

    public Integer getMatchsum() {
        return matchsum;
    }

    public void setMatchsum(Integer matchsum) {
        this.matchsum = matchsum;
    }

    public Integer getMatchvictory() {
        return matchvictory;
    }

    public void setMatchvictory(Integer matchvictory) {
        this.matchvictory = matchvictory;
    }

    @Override
    public String toString() {
        return "UserPk{" +
                "id=" + id +
                ", rankscore=" + rankscore +
                ", matchsum=" + matchsum +
                ", matchvictory=" + matchvictory +
                '}';
    }
}
